<?php 
function theme_widget_site_logo($setting,&$smarty){
	$cur_url = $_SERVER ['HTTP_HOST'].$_SERVER['PHP_SELF'];
    $logo_id = app::get('b2c')->getConf('site.logo');
	$result['site_url'] = $cur_url;
    $result['logo_image'] = base_storager::image_path($logo_id);
    return $result;
}
?>
